package com.ssm.service;

import com.ssm.pojo.SysLog;
import com.ssm.pojo.User;

import java.util.List;

/**
 *
 * @author minghaozhi
 * @date 2017/12/23
 */
public interface UserService {

    public User findByLoginName(String loginName);

    List<String> queryAllPerms(Long userId);

    /**
     * 查询用户的所有菜单ID
     */
    List<Long> queryAllMenuId(Long userId);

    Integer updatePassword(Long userId, String password, String newPassword, SysLog sysLog);
}
